<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Examples</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link href="" rel="stylesheet">
<style type="text/css">
   #lightbox {
      display:none; // 默认隐藏
      position: fixed;
      width: 300px;
      height: 300px;
      background: red;
   }

   #lightbox:target {
      display:block; // 当描点选中时显示
   }
</style>
</head>
<body>
    <a href="#lightbox">点击显示弹出框</a>
    <div id="lightbox">
       这是一个弹出框
    </div>
</body>
</html>
